﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="jquery.json-2.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        var thing = { plugin: 'jquery-json', version: 2.4 };
        alert($.param(thing))
        var encoded = $.toJSON(thing);
     
        alert(encoded);
        // '{"plugin":"jquery-json","version":2.4}'
        var name = $.evalJSON(encoded).plugin;
        // "jquery-json"
        var version = $.evalJSON(encoded).version;
        // 2.4
    </script>
</head>
<body>

</body>
</html>
